package utils

// ComputePaperScore
func ComputePaperScore(userid int) int {
	var score int
	//if data.PaperCategory == "期刊" {
	//	for _, level := range data.PaperLevel {
	//		if utils.Is_in(level, _const.Arr50) {
	//			paper.PaperScore = 50
	//			break
	//		} else if utils.Is_in(level, _const.Arr30) {
	//			paper.PaperScore = 30
	//			break
	//		} else if utils.Is_in(level, _const.Arr20) {
	//			paper.PaperScore = 20
	//			break
	//		} else {
	//			paper.PaperScore = 15
	//		}
	//	}
	//} else {
	//	paper.PaperScore = 30
	//}
	return score
}

//if "国家级" == achievement.AchievementCategory {
//if "一等奖" == achievement.AchievementLevel {
//achievement.AchievementScore = 100
//return
//} else if "二等奖" == achievement.AchievementLevel {
//achievement.AchievementScore = 50
//return
//} else {
//achievement.AchievementScore = 30
//}
//} else {
//if "一等奖" == achievement.AchievementLevel {
//achievement.AchievementScore = 100
//return
//} else if "二等奖" == achievement.AchievementLevel {
//achievement.AchievementScore = 50
//return
//} else {
//achievement.AchievementScore = 30
//}
